package com.fcgzs.springboot.service;

import com.fcgzs.springboot.pojo.Checkitem;
import com.fcgzs.springboot.util.PageResult;
import com.fcgzs.springboot.util.QueryPageBean;
import com.fcgzs.springboot.util.Result;

public interface CheckitemService {
    //添加、编辑检查项
    Result addCheckitemInfo(Checkitem checkitem);

    //弹出编辑窗口时回显数据
    Result getOneCheckitemInfo(Integer id);

    //检查项：全表分页、模糊查询
    PageResult queryPageInfo(QueryPageBean queryPageBean);

    //检查项：删除单个
    Result deleteCheckitemInfo(Integer id);

    //检查组：获取所有检查项
    Result getAllCheckitemInfo();
}
